Skip to content

[yacht] Remove dependency on GNU paste from example solution#772

Merged
IsaacG merged 1 commit intoexercism:mainfrom
IsaacG:no_gnu_paste
May 5, 2026
Merged

[yacht] Remove dependency on GNU paste from example solution#772
IsaacG merged 1 commit intoexercism:mainfrom
IsaacG:no_gnu_paste

Conversation

@IsaacG
Copy link
Copy Markdown
Member

@IsaacG IsaacG commented May 5, 2026

No description provided.

@IsaacG IsaacG added x:action/improve Improve existing functionality/content x:module/practice-exercise Work on Practice Exercises x:size/tiny Tiny amount of work x:rep/small Small amount of reputation labels May 5, 2026
@IsaacG
Copy link
Copy Markdown
Member Author

IsaacG commented May 5, 2026

Alpine ships with busybox which includes BusyBox paste. The BusyBox paste does not support paste -d ''. tr works fine here.

IsaacG added a commit to IsaacG/bash-test-runner that referenced this pull request May 5, 2026
This shrinks the image from 244MB to 14.6MB.

78MB of the prior image is the Ubuntu layer so we don't actually reclaim
that space. However, the Ubuntu `apt-get` command adds 166MB vs the
Alpine `apk add` which adds 5.6MB. That saves 160MB.

This passes all the tests and example solutions once
exercism/bash#771 and
exercism/bash#772 are included.
IsaacG added a commit to IsaacG/bash-test-runner that referenced this pull request May 5, 2026
This shrinks the image from 244MB to 14.6MB.

78MB of the prior image is the Ubuntu layer so we don't actually reclaim
that space. However, the Ubuntu `apt-get` command adds 166MB vs the
Alpine `apk add` which adds 5.6MB. That saves 160MB.

This passes all the tests and example solutions once
exercism/bash#771 and
exercism/bash#772 are included.
@IsaacG IsaacG merged commit 7a9f33f into exercism:main May 5, 2026
3 checks passed
IsaacG added a commit to exercism/bash-test-runner that referenced this pull request May 5, 2026
* Switch the test runner Docker image to use Alpine.

This shrinks the image from 244MB to 14.6MB.

78MB of the prior image is the Ubuntu layer so we don't actually reclaim
that space. However, the Ubuntu `apt-get` command adds 166MB vs the
Alpine `apk add` which adds 5.6MB. That saves 160MB.

This passes all the tests and example solutions once
exercism/bash#771 and
exercism/bash#772 are included.

* Do not create a test file where none previously existed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

x:action/improve Improve existing functionality/content x:module/practice-exercise Work on Practice Exercises x:rep/small Small amount of reputation x:size/tiny Tiny amount of work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants